
local config = require 'config'
local LOG = require 'guac.log'
local driver = config.screen_driver
LOG:info("screen driver: " .. tostring(driver))
local screen = require((...)..'.drivers.'..driver)

setfenv(1, screen)

local function _redraw() end
function declareRedrawFunc(func)
  _redraw = func
end
function redraw()
  return _redraw()
end

return screen
